package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Classname LoginController
 * @Description TODO
 * @Date 2021/6/21 13:55
 * @Created by Hechaolei
 */

@Controller
public class IndexController {

    @RequestMapping({"/index", "/", "/index.html"})
    public String index() {
        return "index";
    }
}
